﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XuLyDuLieu.ClassDetails
{
    public class PhanTuTrongGio
    {
        #region "[Attributes]"
        private int m_SoLuong;
        private double m_GioiHanDuoi;
        private double m_GioiHanTren;
        private string m_TenThuocTinh;
        #endregion

        #region "[Properties]"

        /// <summary>
        /// tên thuộc tính cũng có thể là khoản giá trị
        /// </summary>
        public string TenThuocTinh
        {
            get { return m_TenThuocTinh; }
            set { m_TenThuocTinh = value; }
        } 

        /// <summary>
        /// Số Lượng thuộc tính trong 1 trường
        /// </summary>
        public int SoLuong
        {
            get { return m_SoLuong; }
            set { m_SoLuong = value; }
        }

        /// <summary>
        /// Giơí hạn trên
        /// Có gì trị khi kiều dữ liệu là numeric
        /// </summary>
        public double GioiHanDuoi
        {
            get { return m_GioiHanDuoi; }
            set { m_GioiHanDuoi = value; }
        }

        /// <summary>
        /// Giới hạn dưới
        /// Có giá trị khi kiểu dữ liệu là numeric
        /// </summary>
        public double GioiHanTren
        {
            get { return m_GioiHanTren; }
            set { m_GioiHanTren = value; }
        }
        #endregion
    }
}
